//DataManagement 资料管理  路由配置 邓程峰
const AddCommunity = () => import("@/views/DataManagement/AddCommunity/AddCommunity")
const Gallery = () => import("@/views/DataManagement/Gallery/Gallery")
const Building = () => import("@/views/DataManagement/Building/Building")
const StorageRoom = () => import("@/views/DataManagement/StorageRoom/StorageRoom")
const Household = () => import("@/views/DataManagement/Household/Household")


const GalleryNew = () =>import("@/views/DataManagement/Gallery/GalleryNew")
export const routeDataManagement = [

    {
        title: "资料管理",
        key: "sub2",
        icon: "folder",
        path: '',
        meta: {
            title: "资料管理",
        },
        children: [
            {
                title: "小区信息",
                path: "AddCommunity",
                key: "2",
                component: AddCommunity,
                meta: {
                    title: "小区信息",
                },
            },
            {
                title: "楼座管理",
                path: "Gallery",
                key: "3",
                component: Gallery,
                meta: {
                    title: "楼座管理",
                },
            },
            {
                title: "房屋管理",
                path: "Building",
                key: "4",
                component: Building, meta: {
                    title: "房屋管理",
                },
            },
            {
                title: "储物室管理",
                path: "StorageRoom",
                key: "5",
                component: StorageRoom,
                meta: {
                    title: "储物室管理",
                },
            },
            {
                title: "住户管理",
                path: "Household",
                key: "6",
                component: Household,
                meta: {
                    title: "住户管理",
                },

            },
        ],
        meta: {
            requireAuth: true
        }
    },
]

export const  routeDataManagementChildren=[
    {

        path:'GalleryNew',
        component: GalleryNew,
        name:'GalleryNew',
        

    }
]

// export default routeDataManagement